<?php get_header(); if(get_option('ini_media')){
if (in_category(get_option('ini_media_id'))){include('includes/media.php');} else {?>
<div id="content">
<div class="main">
<?php if(!get_option('ini_bulletin') && get_option('ini_admin')){} else {include('includes/map.php');}; if (have_posts()) : while (have_posts()) : the_post(); include('includes/article.php'); endwhile; endif;?>
<div class="navigation"><?php pagination($query_string);?></div>
</div>
</div>
<?php get_sidebar();echo'</div>';}; get_footer(); } else {?>
<div id="content">
<div class="main">
<?php if(!get_option('ini_bulletin') && get_option('ini_admin')){} else {include('includes/map.php');}; if (have_posts()) : while (have_posts()) : the_post(); include('includes/article.php'); endwhile; endif;?>
<?php pagination($query_string);?>
</div>
</div>
<?php get_sidebar();?>
</div>
<?php get_footer(); }?>